From d0dbd3bfc119298e2bd66fe9a5d6a2cabe2477d9 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 5 Jun 1993 17:16:39 +0000 Subject: [PATCH] (window-system): Enable menu bars only if window-system is non-nil. --- lisp/menu-bar.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el index e67fb70eede..0b0e694020b 100644 --- a/lisp/menu-bar.el +++ b/lisp/menu-bar.el @@ -227,7 +227,8 @@ turn off menu bars; otherwise, turn on menu bars." (setq frames (cdr frames))))) ;; Make frames created from now on have a menu bar. -(menu-bar-mode t) +(if window-system + (menu-bar-mode t)) (provide 'menu-bar) -- 2.30.2